//
//  AppDelegate.h
//  Ting
//
//  Created by 安静的美男子 on 14/11/12.
//  Copyright (c) 2014年 安静的美男子. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "FindViewController.h"
#import "InformationViewController.h"
#import "PlayViewController.h"
#import "SettingViewController.h"
#import "AlbumViewController.h"
#import "HTTPServer.h"

@interface AppDelegate : UIResponder <UIApplicationDelegate>

{
    //创建本地服务器
    HTTPServer *httpServer;
    
}
@property (strong, nonatomic) UIWindow *window;
@property(nonatomic, strong)UIAlertView *alert;
@property(nonatomic, strong)UIAlertView *alert2;

@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;


@end

